package com.jinzhi.jzweb.service.impl;

import com.jinzhi.common.base.CoreServiceImpl;
import com.jinzhi.jzapi.training.pojo.TrainingPaperVo;
import com.jinzhi.jzweb.dao.TrainingQuestionsDao;
import com.jinzhi.jzweb.domain.TrainingQuestionsDO;
import com.jinzhi.jzweb.service.TrainingQuestionsService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 
 * <pre>
 * 培训试题表
 * </pre>
 * <small> 2020-02-24 21:00:11 | lance</small>
 */
@Service
public class TrainingQuestionsServiceImpl extends CoreServiceImpl<TrainingQuestionsDao, TrainingQuestionsDO> implements TrainingQuestionsService {

    @Override
    public List<Long> selCibankIdList(Long tpapersId){
        return baseMapper.selCibankIdList(tpapersId);
    }

    @Override
    public List<Long> selIdList(Long tpapersId){
        return baseMapper.selIdList(tpapersId);
    }

    @Override
    public List<TrainingPaperVo> selTestPaper(Map map){
        return baseMapper.selTestPaper(map);
    }
}
